package durak.server.model;

import java.util.List;

public class GameDesc {
	private String name;
	private int numOfHumanPlayers;
	private int numOfAutoPlayers;
	private int numOfConnectedPlayers;
	private Boolean isFromXML;
	private List<String> humanPlayersNames;
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the numOfHumanPlayers
	 */
	public int getNumOfHumanPlayers() {
		return numOfHumanPlayers;
	}
	/**
	 * @param numOfHumanPlayers the numOfHumanPlayers to set
	 */
	public void setNumOfHumanPlayers(int numOfHumanPlayers) {
		this.numOfHumanPlayers = numOfHumanPlayers;
	}
	/**
	 * @return the numOfAutoPlayers
	 */
	public int getNumOfAutoPlayers() {
		return numOfAutoPlayers;
	}
	/**
	 * @param numOfAutoPlayers the numOfAutoPlayers to set
	 */
	public void setNumOfAutoPlayers(int numOfAutoPlayers) {
		this.numOfAutoPlayers = numOfAutoPlayers;
	}
	/**
	 * @return the numOfConnectedPlayers
	 */
	public int getNumOfConnectedPlayers() {
		return numOfConnectedPlayers;
	}
	/**
	 * @param numOfConnectedPlayers the numOfConnectedPlayers to set
	 */
	public void setNumOfConnectedPlayers(int numOfConnectedPlayers) {
		this.numOfConnectedPlayers = numOfConnectedPlayers;
	}


	public Boolean getIsFromXML() {
		return isFromXML;
	}
	public void setIsFromXML(Boolean isFromXML) {
		this.isFromXML = isFromXML;
	}
	public List<String> getHumanPlayersNames() {
		return humanPlayersNames;
	}
	public void setHumanPlayersNames(List<String> humanPlayersNames) {
		this.humanPlayersNames = humanPlayersNames;
	}
	
	public void addHumanPlayersNames(String name) {
		this.humanPlayersNames.add(name);
	}
}
